# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-galeodes
_pkgname=galeodes
pkgver=0.7
pkgrel=5
pkgdesc='Browsers options.'
arch=('any')
url='https://pypi.org/project/galeodes/#files'
license=('AGPL3')
depends=('python' 'python-selenium' 'python-requests' 'python-pillow')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('470079efb2e4441d99880672b6d5e8b3d6c4228a5125c2e15eedfd5fce4e967caec73f7d545591d72209bff3203b30a71373c8ad9f51ef3e9d720500412315b5')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

